package mall.model.vo;

/*
 *
 * @author Yonni
 * @version 1.8.0_201
 * @date 2020-06-01 20:11
 *
 * */
public class MallShowCommentVO {
    private CommentUserVO user = new CommentUserVO();
    private Double score;
    private Integer id;
    private String specName;
    private String comment;
    private String time;
    private Integer userId;

    //定义set方法给user赋值
    public void setNickname(String nickname) {
        user.setNickname(nickname);
    }

    public CommentUserVO getUser() {
        return user;
    }

    public void setUser(CommentUserVO user) {
        this.user = user;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}
